package org.vehicle.dao;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;
import org.vehicle.dao.base.BaseDaoMapper;
import org.vehicle.entity.OrganizationInfo;
import org.vehicle.entity.TripInfo;

public interface TripInfoMapper extends BaseDaoMapper<TripInfo, Long>{
    /**
     * 通过车牌或查询行程信息
     * @param vehicleLicense
     * @return
     */
	public TripInfo findTripInfoByVehicleLicense(String vehicleLicense);

	public List<OrganizationInfo> gettripInfoList(Map<String, Object> paramMap);

	public Integer gettripInfoCount(Map<String, Object> paramMap);

	public Map<String, Object> selectByKeyId(@Param("tripId")Long tripId);
	
}